package com.mlz.mlzmall.bean;

import java.util.List;

/**
 * Created by jason.zhou on 2015/12/11.
 */
public class GoodsIntroduceBean {
    public int status;
    public ErrorBean errors;
    public String msg;
    public ProductInfoDto data;

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public ErrorBean getErrors() {
        return errors;
    }

    public void setErrors(ErrorBean errors) {
        this.errors = errors;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public ProductInfoDto getData() {
        return data;
    }

    public void setData(ProductInfoDto data) {
        this.data = data;
    }

    public static class ProductInfoDto {
        public int productId;
        public String name;
        public String model;
        public double refPrice;
        public double price;
        public String manufacturerName;
        public List<String> images;
        public Number special;
        public Number flashsale;
        public String location;
        public String areaCode;
        public int quantity;
        public int points;
        public double tariffRates;
        public String warehouseName;
        public int type;
        public double tax;
        public String priceType;
        public String flashsaleEndTime;
        public String detailHref;
        public List<ProductRecommendDto> recommends;
        public List<String> reviews;
        public List<String> attributes;

        public int getProductId() {
            return productId;
        }

        public void setProductId(int productId) {
            this.productId = productId;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getModel() {
            return model;
        }

        public void setModel(String model) {
            this.model = model;
        }

        public double getRefPrice() {
            return refPrice;
        }

        public void setRefPrice(double refPrice) {
            this.refPrice = refPrice;
        }

        public double getPrice() {
            return price;
        }

        public void setPrice(double price) {
            this.price = price;
        }

        public String getManufacturerName() {
            return manufacturerName;
        }

        public void setManufacturerName(String manufacturerName) {
            this.manufacturerName = manufacturerName;
        }

        public List<String> getImages() {
            return images;
        }

        public void setImages(List<String> images) {
            this.images = images;
        }

        public Number getSpecial() {
            return special;
        }

        public void setSpecial(Number special) {
            this.special = special;
        }

        public Number getFlashsale() {
            return flashsale;
        }

        public void setFlashsale(Number flashsale) {
            this.flashsale = flashsale;
        }

        public String getLocation() {
            return location;
        }

        public void setLocation(String location) {
            this.location = location;
        }

        public String getAreaCode() {
            return areaCode;
        }

        public void setAreaCode(String areaCode) {
            this.areaCode = areaCode;
        }

        public int getQuantity() {
            return quantity;
        }

        public void setQuantity(int quantity) {
            this.quantity = quantity;
        }

        public int getPoints() {
            return points;
        }

        public void setPoints(int points) {
            this.points = points;
        }

        public double getTariffRates() {
            return tariffRates;
        }

        public void setTariffRates(int tariffRates) {
            this.tariffRates = tariffRates;
        }

        public String getWarehouseName() {
            return warehouseName;
        }

        public void setWarehouseName(String warehouseName) {
            this.warehouseName = warehouseName;
        }

        public int getType() {
            return type;
        }

        public void setType(int type) {
            this.type = type;
        }

        public double getTax() {
            return tax;
        }

        public void setTax(double tax) {
            this.tax = tax;
        }

        public String getPriceType() {
            return priceType;
        }

        public void setPriceType(String priceType) {
            this.priceType = priceType;
        }

        public String getFlashsaleEndTime() {
            return flashsaleEndTime;
        }

        public void setFlashsaleEndTime(String flashsaleEndTime) {
            this.flashsaleEndTime = flashsaleEndTime;
        }

        public String getDetailHref() {
            return detailHref;
        }

        public void setDetailHref(String detailHref) {
            this.detailHref = detailHref;
        }

        public List<ProductRecommendDto> getRecommends() {
            return recommends;
        }

        public void setRecommends(List<ProductRecommendDto> recommends) {
            this.recommends = recommends;
        }

        public List<String> getReviews() {
            return reviews;
        }

        public void setReviews(List<String> reviews) {
            this.reviews = reviews;
        }

        public List<String> getAttributes() {
            return attributes;
        }

        public void setAttributes(List<String> attributes) {
            this.attributes = attributes;
        }
    }

    public static class ProductRecommendDto {
        public String title;
        public String content;
        public String avatar;
        public String recommendBy;
        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getContent() {
            return content;
        }

        public void setContent(String content) {
            this.content = content;
        }

        public String getAvatar() {
            return avatar;
        }

        public void setAvatar(String avatar) {
            this.avatar = avatar;
        }

        public String getRecommendBy() {
            return recommendBy;
        }

        public void setRecommendBy(String recommendBy) {
            this.recommendBy = recommendBy;
        }
    }

    public static class ProductReviewDto {
        public int orderProductId;
        public String text;
        public String tags;
        public int rating;
        public List<String> images;
        public int reviewId;
        public String dateAdded;
        public CustomerDto customer;

        public int getOrderProductId() {
            return orderProductId;
        }

        public void setOrderProductId(int orderProductId) {
            this.orderProductId = orderProductId;
        }

        public String getText() {
            return text;
        }

        public void setText(String text) {
            this.text = text;
        }

        public String getTags() {
            return tags;
        }

        public void setTags(String tags) {
            this.tags = tags;
        }

        public int getRating() {
            return rating;
        }

        public void setRating(int rating) {
            this.rating = rating;
        }

        public List<String> getImages() {
            return images;
        }

        public void setImages(List<String> images) {
            this.images = images;
        }

        public int getReviewId() {
            return reviewId;
        }

        public void setReviewId(int reviewId) {
            this.reviewId = reviewId;
        }

        public String getDateAdded() {
            return dateAdded;
        }

        public void setDateAdded(String dateAdded) {
            this.dateAdded = dateAdded;
        }

        public CustomerDto getCustomer() {
            return customer;
        }

        public void setCustomer(CustomerDto customer) {
            this.customer = customer;
        }
    }

    public static class ProductAttributeDto {
        public String name;
        public String value;
        public int sortOrder;

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getValue() {
            return value;
        }

        public void setValue(String value) {
            this.value = value;
        }

        public int getSortOrder() {
            return sortOrder;
        }

        public void setSortOrder(int sortOrder) {
            this.sortOrder = sortOrder;
        }
    }

    public static class CustomerDto {
        public int customerId;
        public String fullname;
        public int gender;
        public String telephone;
        public String portrait;
        public String email;
        public int customerGroupName;
        public int ageGroupTagId;
        public String ageGroupTagName;
        public int characterTagId;
        public String characterTagName;
        public int dressStyleTagId;
        public String dressStyleTagName;

        public String getDressStyleTagName() {
            return dressStyleTagName;
        }

        public void setDressStyleTagName(String dressStyleTagName) {
            this.dressStyleTagName = dressStyleTagName;
        }

        public int getCustomerId() {
            return customerId;
        }

        public void setCustomerId(int customerId) {
            this.customerId = customerId;
        }

        public String getFullname() {
            return fullname;
        }

        public void setFullname(String fullname) {
            this.fullname = fullname;
        }

        public int getGender() {
            return gender;
        }

        public void setGender(int gender) {
            this.gender = gender;
        }

        public String getTelephone() {
            return telephone;
        }

        public void setTelephone(String telephone) {
            this.telephone = telephone;
        }

        public String getPortrait() {
            return portrait;
        }

        public void setPortrait(String portrait) {
            this.portrait = portrait;
        }

        public String getEmail() {
            return email;
        }

        public void setEmail(String email) {
            this.email = email;
        }

        public int getCustomerGroupName() {
            return customerGroupName;
        }

        public void setCustomerGroupName(int customerGroupName) {
            this.customerGroupName = customerGroupName;
        }

        public int getAgeGroupTagId() {
            return ageGroupTagId;
        }

        public void setAgeGroupTagId(int ageGroupTagId) {
            this.ageGroupTagId = ageGroupTagId;
        }

        public String getAgeGroupTagName() {
            return ageGroupTagName;
        }

        public void setAgeGroupTagName(String ageGroupTagName) {
            this.ageGroupTagName = ageGroupTagName;
        }

        public int getCharacterTagId() {
            return characterTagId;
        }

        public void setCharacterTagId(int characterTagId) {
            this.characterTagId = characterTagId;
        }

        public String getCharacterTagName() {
            return characterTagName;
        }

        public void setCharacterTagName(String characterTagName) {
            this.characterTagName = characterTagName;
        }

        public int getDressStyleTagId() {
            return dressStyleTagId;
        }

        public void setDressStyleTagId(int dressStyleTagId) {
            this.dressStyleTagId = dressStyleTagId;
        }
    }

}
